<!DOCTYPE html>
<html lang="en">
    <head>
            <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            
            
            
            <link rel="shortcut icon" href="../../img/favicon.ico">
        
        <script type="text/javascript" src="//game.bmob.cn/static/doc_union.js"></script>
            <title>Bmob文档中心</title>
            <link href="../../css/bootstrap-custom.min.css" rel="stylesheet">
            <link href="../../css/font-awesome-4.5.0.css" rel="stylesheet">
            <link href="../../css/base.css" rel="stylesheet">
            <link rel="stylesheet" href="../../css/highlight.css">
            <link href="../../css/agate.css" rel="stylesheet">
            <link href="../../css/custom.css" rel="stylesheet" id="custom">
    </head>

    <body >

        <div class="navbar navbar-fixed-top" role="navigation">
    <div class="main-nav">
        <!-- Collapsed navigation -->
        <div class="navbar-header">
            <a class="navbar-brand" href="../..">
                <!--Bmob文档中心-->
                <img src="../../img/logo.png" alt="">
            </a>
        </div>

        <!-- Expanded navigation -->
        <div class="navbar-collapse collapse">

          <ul class="nav navbar-nav">
            
              <li class="pull-left">
                
					<a href="../..">文档首页</a>
                
              </li>
            
              <li class="pull-left">
                
					<!--<a href="">数据服务</a>-->
					<li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">数据服务 <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            
								<li >
									<a href="../../data/android/">Android</a>
                                </li>
                            
                            
								<li >
									<a href="../../data/ios/">iOS</a>
                                </li>
                            
                            
								<li >
									<a href="../../data/csharp/">C#</a>
                                </li>
                            
                            
								<li >
									<a href="../../data/php/">PHP</a>
                                </li>
                            
                            
								<li >
									<a href="../../data/go/">GO</a>
                                </li>
                            
                            
								<li >
									<a href="../../data/restful/">RESTful</a>
                                </li>
                            
                            
								<li >
									<a href="../../data/javascript/">JavaScript</a>
                                </li>
                            
                            
                                <li >
                                    <a href="../../data/cocos2d_x/">Cocos2D-X</a>
                                </li>
							
                            
								<li >
									<a href="../../data/wechat_app/">小程序</a>
                                </li>
                            
                            
                                <li >
                                    <a href="../../data/wechat_app_new/">快应用</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../data/wechat_app_new/">Nodejs</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../data/wechat_app_new/">Cocos Creator</a>
                                </li>
							
                            
								<li >
									<a href="../../data/wechat_app_new/rm/">小程序(新)</a>
                                </li>
                            
                        </ul>
                    </li>
                
              </li>
            
              <li class="pull-left">
                
					<!--<a href="../../cloud_function/android/">云函数</a>-->
					<li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">云函数 <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            
                                <li >
                                    <a href="../../cloud_function/android/">Android</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../cloud_function/ios/">iOS</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../cloud_function/java/">Java</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../cloud_function/csharp/">C#</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../cloud_function/php/">PHP</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../cloud_function/javascript/">JavaScript</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../cloud_function/restful/">RESTful</a>
                                </li>
							
                            
								<li >
									<a href="../../cloud_function/web/">Web</a>
                                </li>
                            
                        </ul>
                    </li>
                
              </li>
            
              <li class="pull-left">
                
					<!--<a href="../../sms/android/">短信服务</a>-->
					<li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">短信服务 <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            
                                <li >
                                    <a href="../../sms/android/">Android</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../sms/ios/">iOS</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../sms/php/">PHP</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../sms/javascript/">JavaScript</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../sms/restful/">RESTful</a>
                                </li>
							
                        </ul>
                    </li>
                
              </li>
            
              <li class="pull-left">
                
					<!--<a href="">游戏实时后端</a>-->
					<li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">游戏实时后端 <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            
								<li >
									<a href="../../game/unity/quick_start/">Unity</a>
                                </li>
                            
                            
								<li >
									<a href="../../game/cocos_creator/quick_start/">Cocos Creator</a>
                                </li>
                            
                            
								<li >
									<a href="../../game/wechat_games/quick_start/">微信小游戏</a>
                                </li>
                            
                            
                                <li >
                                    <a href="../../game/cloud_function/develop_doc/">云函数</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../game/classic_case/">经典案例</a>
                                </li>
							
                        </ul>
                    </li>
                
              </li>
            
              <li class="pull-left">
                
					<!--<a href="">IM服务</a>-->
					<li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">IM服务 <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            
								<li >
									<a href="../../im/android/">Android</a>
                                </li>
                            
                            
								<li >
									<a href="../../im/ios/">iOS</a>
                                </li>
                            
                        </ul>
                    </li>
                
              </li>
            
              <li class="pull-left">
                
					<!--<a href="../../push/android/">推送服务</a>-->
					<li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">推送服务 <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            
                                <li >
                                    <a href="../../push/android/">Android</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../push/ios/">iOS</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../push/php/">PHP</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../push/javascript/">JavaScript</a>
                                </li>
							
                            
                                <li >
                                    <a href="../../push/restful/">RESTful</a>
                                </li>
							
                        </ul>
                    </li>
                
              </li>
            
              <li class="pull-left active">
                
					<!--<a href="../common_problem/">其他</a>-->
					<li class="dropdown active">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">其他 <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            
                                <li >
                                    <a href="../common_problem/">常见问题</a>
                                </li>
							
                            
                                <li class="active">
                                    <a href="./">错误码</a>
                                </li>
							
                            
                                <li >
                                    <a href="../data_safety/">数据安全</a>
                                </li>
							
                            
                                <li >
                                    <a href="../bql/">BQL</a>
                                </li>
							
                        </ul>
                    </li>
                
              </li>
            
              <li>
                  <a href="https://www.bmob.cn/repository/index" target="_blank">知识库</a>
              </li>
              <li>
                  <a href="http://doc.bmob.cn/video/index.html" target="_blank">视频教程</a>
              </li>
            </ul>
            
        </div>
    </div>
</div>

        <div class="pagebody" id="main-wrapper">
            <div class="sidebar">
                <div class="bs-sidebar hidden-print affix well" role="complementary">

	
		
	
		
				
				
				
				
				
				
				
				
				
				
				
				
				
		
	
		
				
				
				
				
				
				
				
				
		
	
		
				
				
				
				
				
		
	
		
				
				
				
				
				
		
	
		
				
				
		
	
		
				
				
				
				
				
		
	
		
				
				
					<div class="code-title">错误码</div>
				
				
				
		
	


	<ul class="nav bs-sidenav">
		
			
		
			
		
			
		
			
		
			
		
			
		
			
		
			
				
					
						
					
						
							
								
									
										<li class="active "><a href="#androidsdk">AndroidSDK错误码列表</a>
											
										</li>
									
										<li class=""><a href="#iossdk">iOSSDK错误码列表</a>
											
										</li>
									
										<li class=""><a href="#restapi">RESTAPI错误码列表</a>
											
										</li>
									
										<li class=""><a href="#vip">VIP付费限制相关错误码</a>
											
										</li>
									
										<li class=""><a href="#_1">短信功能相关错误码</a>
											
										</li>
									
										<li class=""><a href="#_2">支付功能错误码</a>
											
										</li>
									
								
							
						
					
						
					
						
					
				
			
		
	</ul>
</div>
            </div>
            <div class="content" role="main">
                <div class="wrap">
                    

<h2 id="androidsdk">AndroidSDK错误码列表<a class="headerlink" href="#androidsdk" title="Permanent link">&para;</a></h2>
<table>
<thead>
<tr>
<th>错误码</th>
<th>内容</th>
<th>含义</th>
</tr>
</thead>
<tbody>
<tr>
<td>9001</td>
<td>AppKey is Null, Please initialize BmobSDK.</td>
<td>Application Id为空，请初始化.</td>
</tr>
<tr>
<td>9002</td>
<td>Parse data error</td>
<td>解析返回数据出错</td>
</tr>
<tr>
<td>9003</td>
<td>upload file error</td>
<td>上传文件出错</td>
</tr>
<tr>
<td>9004</td>
<td>upload file failure</td>
<td>文件上传失败</td>
</tr>
<tr>
<td>9005</td>
<td>A batch operation can not be more than 50</td>
<td>批量操作只支持最多50条</td>
</tr>
<tr>
<td>9006</td>
<td>objectId is null</td>
<td>objectId为空</td>
</tr>
<tr>
<td>9007</td>
<td>BmobFile File size must be less than 10M.</td>
<td>文件大小超过10M</td>
</tr>
<tr>
<td>9008</td>
<td>BmobFile File does not exist.</td>
<td>上传文件不存在</td>
</tr>
<tr>
<td>9009</td>
<td>No cache data.</td>
<td>没有缓存数据</td>
</tr>
<tr>
<td>9010</td>
<td>The network is not normal.(Time out)</td>
<td>网络超时</td>
</tr>
<tr>
<td>9011</td>
<td>BmobUser does not support batch operations.</td>
<td>BmobUser类不支持批量操作</td>
</tr>
<tr>
<td>9012</td>
<td>context is null.</td>
<td>上下文为空</td>
</tr>
<tr>
<td>9013</td>
<td>BmobObject Object names(database table name) <br/>format is not correct.</td>
<td>BmobObject（数据表名称）格式不正确</td>
</tr>
<tr>
<td>9014</td>
<td>第三方账号授权失败</td>
<td>第三方账号授权失败</td>
</tr>
<tr>
<td>9015</td>
<td>其他错误均返回此code</td>
<td>其他错误均返回此code</td>
</tr>
<tr>
<td>9016</td>
<td>The network is not available,please check your network!</td>
<td>无网络连接，请检查您的手机网络.</td>
</tr>
<tr>
<td>9017</td>
<td>与第三方登录有关的错误，具体请看对应的错误描述</td>
<td>与第三方登录有关的错误，具体请看对应的错误描述</td>
</tr>
<tr>
<td>9018</td>
<td>参数不能为空</td>
<td>参数不能为空</td>
</tr>
<tr>
<td>9019</td>
<td>格式不正确：手机号码、邮箱地址、验证码</td>
<td>格式不正确：手机号码、邮箱地址、验证码</td>
</tr>
<tr>
<td>9020</td>
<td>保存CDN信息失败</td>
<td>保存CDN信息失败</td>
</tr>
<tr>
<td>9021</td>
<td>permission not defined.You must write android<br/>.permission.WAKE_LOCK  in AndroidManifest.xml "<uses-permission<br/> android:name="android.permission.WAKE_LOCK".</td>
<td>文件上传缺少wakelock权限</td>
</tr>
<tr>
<td>9022</td>
<td>upload failure,please retry.</td>
<td>文件上传失败，请重新上传</td>
</tr>
<tr>
<td>9023</td>
<td>please call Bmob.initialize to init sdk.</td>
<td>请调用Bmob类的initialize方法去初始化SDK</td>
</tr>
</tbody>
</table>
<p>注：<br>
1. 关于9015错误，是SDK相关方法被调用过程中遇到的异常统一返回的标识，所以反馈问题和提交工单时请务必带上错误描述;
2. 如果您在SDK相关方法的成功回调中，调用您项目中的业务方法抛出异常的话也会被SDK捕获到,亦即先成功回调SDK的操作，后出现9015报错，此时建议检查下您的业务方法的代码，
解决这种看似done方法被回调两次的假象。</p>
<h2 id="iossdk">iOSSDK错误码列表<a class="headerlink" href="#iossdk" title="Permanent link">&para;</a></h2>
<table>
<thead>
<tr>
<th align="left">错误码</th>
<th align="left">内容</th>
<th align="left">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">100</td>
<td align="left">It is busy...Try it later!</td>
<td align="left">一般是请求服务器的内容有误，如果是查询的话，请检查一下查询条件是否有误.</td>
</tr>
<tr>
<td align="left">20000</td>
<td align="left">nil password!</td>
<td align="left">登录或者注册时输入的密码为空.</td>
</tr>
<tr>
<td align="left">20001</td>
<td align="left">nil username!</td>
<td align="left">登录或者注册时输入的用户名为空.</td>
</tr>
<tr>
<td align="left">20002</td>
<td align="left">connect failed!</td>
<td align="left">请求失败.</td>
</tr>
<tr>
<td align="left">20003</td>
<td align="left">none objectid!</td>
<td align="left">更新对象、删除对象、查询单个对象时没有objectid</td>
</tr>
<tr>
<td align="left">20004</td>
<td align="left">none object!</td>
<td align="left">查询时，查询结果为空</td>
</tr>
<tr>
<td align="left">20005</td>
<td align="left">expired!</td>
<td align="left">缓存查询时，查询时间已过期</td>
</tr>
<tr>
<td align="left">20006</td>
<td align="left">cloud function failed!</td>
<td align="left">云端逻辑调用失败</td>
</tr>
<tr>
<td align="left">20008</td>
<td align="left">none filename!</td>
<td align="left">上传文件时，文件名为空</td>
</tr>
<tr>
<td align="left">20009</td>
<td align="left">none file!</td>
<td align="left">上传文件时，找不到文件</td>
</tr>
<tr>
<td align="left">20010</td>
<td align="left">unknow error!</td>
<td align="left">未知错误</td>
</tr>
<tr>
<td align="left">20011</td>
<td align="left">none filendata!</td>
<td align="left">上传文件时，文件内容为空</td>
</tr>
<tr>
<td align="left">20012</td>
<td align="left">update content is nil!</td>
<td align="left">更新时，更新内容为空</td>
</tr>
<tr>
<td align="left">20013</td>
<td align="left">fuction name is nil!</td>
<td align="left">调用云端逻辑时，函数名为空</td>
</tr>
<tr>
<td align="left">20014</td>
<td align="left">array is too big!</td>
<td align="left">批量操作时，传入的数组超过界限</td>
</tr>
<tr>
<td align="left">20015</td>
<td align="left">nil array!</td>
<td align="left">批量操作时，传入的数组为空</td>
</tr>
<tr>
<td align="left">20016</td>
<td align="left">nil push content!</td>
<td align="left">推送时，推送内容为空</td>
</tr>
<tr>
<td align="left">20017</td>
<td align="left">init is not finish,please wait a moment</td>
<td align="left">初始化未完成</td>
</tr>
<tr>
<td align="left">20023</td>
<td align="left">init fail</td>
<td align="left">初始化失败</td>
</tr>
<tr>
<td align="left">20024</td>
<td align="left">format error</td>
<td align="left">批量文件上传时格式错误</td>
</tr>
<tr>
<td align="left">20025</td>
<td align="left">nil class name</td>
<td align="left">表名为空</td>
</tr>
<tr>
<td align="left">20027</td>
<td align="left">string is nil or equal ""</td>
<td align="left">传的参数有错，一般是传入空字符串造成</td>
</tr>
<tr>
<td align="left">20028</td>
<td align="left">Invalid mobile phone number, the format can't be empty or null</td>
<td align="left">非法手机号</td>
</tr>
<tr>
<td align="left">20029</td>
<td align="left">Invalid sms code, the format can't be empty or null</td>
<td align="left">非法验证码</td>
</tr>
<tr>
<td align="left">20030</td>
<td align="left">File not exist</td>
<td align="left">获取文件url、删除文件时传入的文件名不存在</td>
</tr>
</tbody>
</table>
<h2 id="restapi">RESTAPI错误码列表<a class="headerlink" href="#restapi" title="Permanent link">&para;</a></h2>
<table>
<thead>
<tr>
<th align="left">HttpResponseCode</th>
<th align="left">错误码</th>
<th align="left">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">401</td>
<td align="left"></td>
<td align="left">unauthorized</td>
</tr>
<tr>
<td align="left">500</td>
<td align="left"></td>
<td align="left">It is busy...Try it later!</td>
</tr>
<tr>
<td align="left">当HttpResponseCode的值为401或500时，接口返回的内容格式如下：</td>
<td align="left"></td>
<td align="left"></td>
</tr>
</tbody>
</table>
<pre><code class="JSON">{
    &quot;error&quot;: &quot;unauthorized&quot;
}
</code></pre>

<p>error为上表中含义的值</p>
<p>当HttpResponseCode的值为400时，接口返回的内容格式如下：</p>
<pre><code class="JSON">{
    &quot;code&quot;: 101,
    &quot;error&quot;: &quot;object not found for e1kXT22L&quot;
}
</code></pre>

<p>code为下表中的错误码，error为下表中的内容
以下是HttpResponseCode为404时返回内容的详细说明，信息中的%s，%d，%f将替换为详细的信息或具体的值。</p>
<table>
<thead>
<tr>
<th align="left">错误码</th>
<th align="left">内容</th>
<th align="left">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">101</td>
<td align="left">object not found for %s. OR username or password incorrect</td>
<td align="left">查询的 对象或Class 不存在 或者 登录接口的用户名或密码不正确</td>
</tr>
<tr>
<td align="left">102</td>
<td align="left">Invalid key '%s' for find OR Invalid value for key '%s'. OR %s: invalid geopoint object.</td>
<td align="left">查询中的字段名是大小写敏感的，且必须以英文字母开头，有效的字符仅限在英文字母、数字以及下划线。，或查询对应的字段值不匹配，或提供的地理位置格式不正确</td>
</tr>
<tr>
<td align="left">103</td>
<td align="left">objectId required. OR classname '%s' must start with a letter.</td>
<td align="left">查询单个对象或更新对象时必须提供objectId 或 非法的 class 名称，class 名称是大小写敏感的，并且必须以英文字母开头，有效的字符仅限在英文字母、数字以及下划线.</td>
</tr>
<tr>
<td align="left">104</td>
<td align="left">relation className '%s' not exists.</td>
<td align="left">关联的class名称不存在</td>
</tr>
<tr>
<td align="left">105</td>
<td align="left">invalid field name: %s. OR It is a reserved field: %s.</td>
<td align="left">字段名是大小写敏感的，且必须以英文字母开头，有效的字符仅限在英文字母、数字以及下划线 或 字段名是<a href="http://www.bmob.cn/" title="Bmob移动后端云服务平台">Bmob</a>默认保留的，如objectId,createdAt,updateAt,ACL</td>
</tr>
<tr>
<td align="left">106</td>
<td align="left">%s: is not a valid Pointer.</td>
<td align="left">不是一个正确的指针类型</td>
</tr>
<tr>
<td align="left">107</td>
<td align="left">invalid json: %s.</td>
<td align="left">输入的json不是正确的json格式</td>
</tr>
<tr>
<td align="left">107</td>
<td align="left">This endpoint only supports Content-Type: application/json requests, not %s.</td>
<td align="left">请求只支持Header头部Content-Type值为application/json或application/json; charset=utf-8</td>
</tr>
<tr>
<td align="left">107</td>
<td align="left">invalid date: %s.</td>
<td align="left">时间格式不正确</td>
</tr>
<tr>
<td align="left">107</td>
<td align="left">ACL shoud be like: {"*":{"read":true},"eAfHB29gP9":{"write":true}}.</td>
<td align="left">ACL应该像这样的{"*":{"read":true},"eAfHB29gP9":{"write":true}}</td>
</tr>
<tr>
<td align="left">107</td>
<td align="left">invalid op value</td>
<td align="left">不是正确的__op的值</td>
</tr>
<tr>
<td align="left">108</td>
<td align="left">username and password required.</td>
<td align="left">用户名和密码是必需的</td>
</tr>
<tr>
<td align="left">109</td>
<td align="left">login data required.</td>
<td align="left">登录信息是必需的，如邮箱和密码时缺少其中一个提示此信息</td>
</tr>
<tr>
<td align="left">111</td>
<td align="left">invalid type for key '%s', expected '%s', but got '%s'.</td>
<td align="left">传入的字段值与字段类型不匹配，期望是这样(%s)的，但传过来却是这样(%s)的</td>
</tr>
<tr>
<td align="left">112</td>
<td align="left">requests must be an array.</td>
<td align="left">requests的值必须是数组</td>
</tr>
<tr>
<td align="left">113</td>
<td align="left">every request shoud be an object like:{"method": "POST","path": "/1/classes/GameScore","body": {"score": 1337,"playerName": "Sean Plott"}}</td>
<td align="left">requests数组中每个元素应该是一个像这样子的json对象</td>
</tr>
<tr>
<td align="left">114</td>
<td align="left">requests array larger than %d</td>
<td align="left">requests数组大于50</td>
</tr>
<tr>
<td align="left">117</td>
<td align="left">Latitude must be in [-90, 90]: %f. OR Longitude must be in [-180, 180]: %f.</td>
<td align="left">纬度范围在[-90, 90] 或 经度范围在[-180, 180]</td>
</tr>
<tr>
<td align="left">120</td>
<td align="left">Email verify should be opened in your app setup page of bmob</td>
<td align="left">要使用此功能，请在<a href="http://www.bmob.cn/" title="Bmob移动后端云服务平台">Bmob</a>后台应用设置中打开邮箱认证功能开关</td>
</tr>
<tr>
<td align="left">131</td>
<td align="left">Invalid device token:%s</td>
<td align="left">不正确的deviceToken</td>
</tr>
<tr>
<td align="left">132</td>
<td align="left">Invalid installation ID:%s</td>
<td align="left">不正确的installationId</td>
</tr>
<tr>
<td align="left">133</td>
<td align="left">Invalid device type:%s</td>
<td align="left">不正确的deviceType</td>
</tr>
<tr>
<td align="left">134</td>
<td align="left">device token '%s' already token.</td>
<td align="left">deviceToken已经存在</td>
</tr>
<tr>
<td align="left">135</td>
<td align="left">installation ID '%s' already token.</td>
<td align="left">installationId已经存在</td>
</tr>
<tr>
<td align="left">136</td>
<td align="left">%s cannot be changed by this operation OR deviceToken may not be set for deviceType android</td>
<td align="left">只读属性不能修改 或 android设备不需要设置deviceToken</td>
</tr>
<tr>
<td align="left">138</td>
<td align="left">%s is read only.</td>
<td align="left">表是只读的</td>
</tr>
<tr>
<td align="left">139</td>
<td align="left">Role names must be restricted to alphanumeric characters, dashes(-), underscores(_), and spaces.</td>
<td align="left">角色名称是大小写敏感的，并且必须以英文字母开头，有效的字符仅限在英文字母、数字、空格、横线以及下划线。</td>
</tr>
<tr>
<td align="left"></td>
<td align="left">role name '%s' already taken.</td>
<td align="left">角色名称已经存在。</td>
</tr>
<tr>
<td align="left">141</td>
<td align="left">Missing the push data.</td>
<td align="left">缺失推送需要的data参数</td>
</tr>
<tr>
<td align="left">142</td>
<td align="left">%s shoule be like: 2013-12-04 00:51:13</td>
<td align="left">时间格式应该如下： 2013-12-04 00:51:13</td>
</tr>
<tr>
<td align="left">143</td>
<td align="left">%s must be a number"</td>
<td align="left">必须是一个数字</td>
</tr>
<tr>
<td align="left">144</td>
<td align="left">%s cannot before now</td>
<td align="left">不能是之前的时间</td>
</tr>
<tr>
<td align="left">145</td>
<td align="left">file size error</td>
<td align="left">文件大小错误</td>
</tr>
<tr>
<td align="left">146</td>
<td align="left">file name error</td>
<td align="left">文件名错误</td>
</tr>
<tr>
<td align="left">147</td>
<td align="left">file offeset error</td>
<td align="left">文件分页上传偏移量错误</td>
</tr>
<tr>
<td align="left">148</td>
<td align="left">file ctx error</td>
<td align="left">文件上下文错误</td>
</tr>
<tr>
<td align="left">149</td>
<td align="left">empty file</td>
<td align="left">空文件</td>
</tr>
<tr>
<td align="left">150</td>
<td align="left">file upload error</td>
<td align="left">文件上传错误</td>
</tr>
<tr>
<td align="left">151</td>
<td align="left">file delete error</td>
<td align="left">文件删除错误</td>
</tr>
<tr>
<td align="left">160</td>
<td align="left">image error</td>
<td align="left">图片错误</td>
</tr>
<tr>
<td align="left">161</td>
<td align="left">image mode error</td>
<td align="left">图片模式错误</td>
</tr>
<tr>
<td align="left">162</td>
<td align="left">image width error</td>
<td align="left">图片宽度错误</td>
</tr>
<tr>
<td align="left">163</td>
<td align="left">image height error</td>
<td align="left">图片高度错误</td>
</tr>
<tr>
<td align="left">164</td>
<td align="left">image longEdge error</td>
<td align="left">图片长边错误</td>
</tr>
<tr>
<td align="left">165</td>
<td align="left">image shortgEdge error</td>
<td align="left">图片短边错误</td>
</tr>
<tr>
<td align="left">201</td>
<td align="left">%s missing</td>
<td align="left">缺失数据</td>
</tr>
<tr>
<td align="left">202</td>
<td align="left">username '%s' already taken.</td>
<td align="left">用户名已经存在</td>
</tr>
<tr>
<td align="left">203</td>
<td align="left">email '%s' already taken.</td>
<td align="left">邮箱已经存在</td>
</tr>
<tr>
<td align="left">204</td>
<td align="left">you must provide an email.</td>
<td align="left">必须提供一个邮箱地址</td>
</tr>
<tr>
<td align="left">205</td>
<td align="left">no user found with email '%s'.</td>
<td align="left">没有找到此邮件的用户</td>
</tr>
<tr>
<td align="left"></td>
<td align="left">no user found with username '%s'.</td>
<td align="left">没有找到此用户名的用户</td>
</tr>
<tr>
<td align="left">206</td>
<td align="left">User cannot be altered without sessionToken Error.</td>
<td align="left">登录用户才能修改自己的信息。RestAPI的Http Header中没有提供sessionToken的正确值，不能修改或删除用户</td>
</tr>
<tr>
<td align="left">207</td>
<td align="left">code error.</td>
<td align="left">验证码错误</td>
</tr>
<tr>
<td align="left">208</td>
<td align="left">authData error.</td>
<td align="left">authData不正确</td>
</tr>
<tr>
<td align="left"></td>
<td align="left">authData already linked by other user.</td>
<td align="left">authData已经绑定了其他用户账户</td>
</tr>
<tr>
<td align="left">209</td>
<td align="left">mobilePhoneNumber '%s' already taken.</td>
<td align="left">该手机号码已经存在</td>
</tr>
<tr>
<td align="left">210</td>
<td align="left">old password incorrect.</td>
<td align="left">旧密码不正确</td>
</tr>
<tr>
<td align="left">301</td>
<td align="left">%s</td>
<td align="left">验证错误详细提示，如邮箱格式不正确</td>
</tr>
<tr>
<td align="left">302</td>
<td align="left">your app setting '%s'.</td>
<td align="left">Bmob后台设置了应用设置值， 如'不允许SDK创建表 '</td>
</tr>
<tr>
<td align="left">310</td>
<td align="left">%s</td>
<td align="left">云端逻辑运行错误的详细信息</td>
</tr>
<tr>
<td align="left">311</td>
<td align="left">invalid cloudcode name: %s.</td>
<td align="left">云端逻辑名称是大小写敏感的，且必须以英文字母开头，有效的字符仅限在英文字母、数字以及下划线。</td>
</tr>
<tr>
<td align="left">401</td>
<td align="left">unique index cannot has duplicate value: %s</td>
<td align="left">唯一键不能存在重复的值</td>
</tr>
<tr>
<td align="left">402</td>
<td align="left">query where larger than %d bytes.</td>
<td align="left">查询的wher语句长度大于具体多少个字节</td>
</tr>
<tr>
<td align="left">601</td>
<td align="left">Invalid bql:%s</td>
<td align="left">不正确的BQL查询语句</td>
</tr>
</tbody>
</table>
<h2 id="vip">VIP付费限制相关错误码<a class="headerlink" href="#vip" title="Permanent link">&para;</a></h2>
<table>
<thead>
<tr>
<th align="left">错误码</th>
<th align="left">内容</th>
<th align="left">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">1002</td>
<td align="left">Tables of the app can create has reached to limit</td>
<td align="left">该应用能创建的表数已达到限制</td>
</tr>
<tr>
<td align="left">1003</td>
<td align="left">Rows of the table can add has reached to limit</td>
<td align="left">该表的行数已达到限制</td>
</tr>
<tr>
<td align="left">1004</td>
<td align="left">Fields of the table can add has reached to limit</td>
<td align="left">该表的列数已达到限制</td>
</tr>
<tr>
<td align="left">1005</td>
<td align="left">Request api of the this month has reached to limit</td>
<td align="left">每月api请求数量已达到限制</td>
</tr>
<tr>
<td align="left">1006</td>
<td align="left">Crontab jobs of the app has reached to limit</td>
<td align="left">该应用能创建定时任务数已达到限制</td>
</tr>
<tr>
<td align="left">1007</td>
<td align="left">CloudCodes of the app has reached to limit</td>
<td align="left">该应用能创建云端逻辑数已达到限制</td>
</tr>
<tr>
<td align="left">1500</td>
<td align="left">The file is larger than file size you can upload</td>
<td align="left">你上传的文件大小已超出限制</td>
</tr>
</tbody>
</table>
<h2 id="_1">短信功能相关错误码<a class="headerlink" href="#_1" title="Permanent link">&para;</a></h2>
<p>短信功能包含的错误码，除了包括以上的109, 207, 209 状态码外，还定义了以下错误码：</p>
<table>
<thead>
<tr>
<th align="left">错误码</th>
<th align="left">内容</th>
<th align="left">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">10010</td>
<td align="left">mobile '%s' send message limited.</td>
<td align="left">该手机号发送短信达到限制(对于一个应用来说，一天给同<br/>一手机号发送短信不能超过10条，一小时给同一手机号发<br/>送短信不能超过5条，一分钟给同一手机号发送短信不能超过1条)</td>
</tr>
<tr>
<td align="left">10011</td>
<td align="left">no remaining number for send messages.</td>
<td align="left">该账户无可用的发送短信条数</td>
</tr>
<tr>
<td align="left">10012</td>
<td align="left">your credit info must verify ok.</td>
<td align="left">身份信息必须审核通过才能使用该功能</td>
</tr>
<tr>
<td align="left">10013</td>
<td align="left">sms content illegal.</td>
<td align="left">非法短信内容</td>
</tr>
</tbody>
</table>
<h2 id="_2">支付功能错误码<a class="headerlink" href="#_2" title="Permanent link">&para;</a></h2>
<table>
<thead>
<tr>
<th align="left">错误码</th>
<th align="left">模块</th>
<th align="left">内容</th>
<th align="left">含义</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">-1</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">微信返回的错误码，可能是未安装微信，也可能是微信没获得网络权限等</td>
</tr>
<tr>
<td align="left">-2</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">微信支付用户中断操作</td>
</tr>
<tr>
<td align="left">-3</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">未安装支付插件</td>
</tr>
<tr>
<td align="left">102</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">设置了安全验证，但是签名或IP不对</td>
</tr>
<tr>
<td align="left">6001</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">支付宝支付用户中断操作</td>
</tr>
<tr>
<td align="left">4000</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">支付宝支付出错，可能是参数有问题</td>
</tr>
<tr>
<td align="left">1111</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">解析服务器返回的数据出错，可能是提交参数有问题</td>
</tr>
<tr>
<td align="left">2222</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">服务器端返回参数出错，可能是提交的参数有问题（如查询的订单号不存在）</td>
</tr>
<tr>
<td align="left">3333</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">解析服务器数据出错，可能是提交参数有问题</td>
</tr>
<tr>
<td align="left">5277</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">查询订单号时未输入订单号</td>
</tr>
<tr>
<td align="left">7777</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">微信客户端未安装</td>
</tr>
<tr>
<td align="left">8888</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">微信客户端版本不支持微信支付</td>
</tr>
<tr>
<td align="left">9010</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">网络异常，可能是没有给应用网络权限</td>
</tr>
<tr>
<td align="left">10003</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">商品名或详情不符合微信/支付宝的规定（如微信商品名不可以超过42个中文）</td>
</tr>
<tr>
<td align="left">10777</td>
<td align="left">Android</td>
<td align="left"></td>
<td align="left">上次发起的请求还未处理完成，禁止下次请求，可用BP.ForceFree()解除</td>
</tr>
<tr>
<td align="left"></td>
<td align="left"></td>
<td align="left"></td>
<td align="left"></td>
</tr>
<tr>
<td align="left">4000</td>
<td align="left">iOS</td>
<td align="left"></td>
<td align="left">支付类型错误，请填写 BmobAlipay</td>
</tr>
<tr>
<td align="left">4001</td>
<td align="left">iOS</td>
<td align="left"></td>
<td align="left">解析服务器返回的数据出错，可能是提交参数有问题</td>
</tr>
<tr>
<td align="left">4002</td>
<td align="left">iOS</td>
<td align="left"></td>
<td align="left">查询不到订单号，请在支付回调执行后查询</td>
</tr>
<tr>
<td align="left">4004</td>
<td align="left">iOS</td>
<td align="left"></td>
<td align="left">网络错误，请检查网络</td>
</tr>
<tr>
<td align="left">4005</td>
<td align="left">iOS</td>
<td align="left"></td>
<td align="left">支付宝未安装，或者没有配置 info.plist 参数</td>
</tr>
<tr>
<td align="left">4006</td>
<td align="left">iOS</td>
<td align="left"></td>
<td align="left">用户执行取消付款操作</td>
</tr>
<tr>
<td align="left">4007</td>
<td align="left">iOS</td>
<td align="left"></td>
<td align="left">价格超出限额</td>
</tr>
<tr>
<td align="left">4008</td>
<td align="left">iOS</td>
<td align="left"></td>
<td align="left">获取支付参数错误，请稍后重试</td>
</tr>
<tr>
<td align="left"></td>
<td align="left"></td>
<td align="left"></td>
<td align="left"></td>
</tr>
<tr>
<td align="left">150</td>
<td align="left">Restful</td>
<td align="left">order_no is null.</td>
<td align="left">订单号是空的.</td>
</tr>
<tr>
<td align="left">10001</td>
<td align="left">Restful</td>
<td align="left">%s required</td>
<td align="left">有些项是必填的</td>
</tr>
<tr>
<td align="left">10002</td>
<td align="left">Restful</td>
<td align="left">order_no not exists.</td>
<td align="left">你要查询的订单号不存在.</td>
</tr>
<tr>
<td align="left">10003</td>
<td align="left">Restful</td>
<td align="left">%s.</td>
<td align="left">详细错误信息，如微信或支付宝返回的详细错误.</td>
</tr>
<tr>
<td align="left">10004</td>
<td align="left">Restful</td>
<td align="left">%s.</td>
<td align="left">详细错误信息，如微信或支付宝返回的详细错误.</td>
</tr>
</tbody>
</table>
                </div>
            </div>
        </div>

        
            <script>var base_url = '../..';</script>
            <script src="../../js/jquery-1.10.2.min.js"></script>
            <script src="../../js/bootstrap-3.0.3.min.js"></script>
            <script src="../../js/highlight.pack.js"></script>
            <script src="../../js/main.js"></script>
            <script src="../../js/base.js"></script>

        <div id="go-top"><i class="fa fa-chevron-up"></i></div>
        <a href="https://docs.bmob.cn/data/Android/a_faststart/doc/index.html" id="back" target="_blank">返回 <br> 旧版</a>
    </body>

</html>